package com.xxgc.cloud.springcloudgateway.filter;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @program: SpringCloudStudy
 * @description:
 * @author: Mr.abel(ShiJiaYi)
 * @create: 2022-11-30 16:20
 **/
@Data
@RefreshScope
@Component
public class JwtConfig {

    @Value("${jwt.key}")
    private String jwtKey;

    @Value("${redis.login.key}")
    private String redisLoginKey;
}
